package cn.golxen.blog.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Bean;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Essay implements Serializable {

    private String essayId;
    private String title;
    private String content;
    private LocalDateTime datetime;
    private LocalDateTime update;
    private int views;
    private int comments;
    private String category;
//    private String label;
}
